<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use Redis;

use App\Http\Requests;
use App\Http\Model\WechatModel;
use App\Http\Model\SpyModel;
use App\Http\Model;

class WechatController extends Controller
{
    private $AppId = "";
    private $AppSecret = "";
    private $Token = "";

    private $request;

    
    /**
     * 显示首页。
     *
     * @return Response
     */
    public function getIndex()
    {
        $accessToken = WechatModel::getAccessToken();
        var_dump($accessToken);
        exit;
    }
}
